package com.dreamtour.mapper;

import com.dreamtour.entity.Administrators;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
public interface AdministratorsMapper extends BaseMapper<Administrators> {
    @Select("SELECT * FROM administrators WHERE adminPhone = #{phone}")
    Administrators selectByPhone(String phone);


}
